package com.hospital.phyexam.entity;

public class Student extends StudentKey {
    private String stuNum;

    private String stuName;

    private Integer stuAge;

    private Integer stuSex;

    private Integer stuCardNum;

    private String stuNation;

    private String stuBirthPlace;

    private String stuContactInfo;

    private Integer stuDepartId;

    public String getStuNum() {
        return stuNum;
    }

    public void setStuNum(String stuNum) {
        this.stuNum = stuNum == null ? null : stuNum.trim();
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName == null ? null : stuName.trim();
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    public Integer getStuSex() {
        return stuSex;
    }

    public void setStuSex(Integer stuSex) {
        this.stuSex = stuSex;
    }

    public Integer getStuCardNum() {
        return stuCardNum;
    }

    public void setStuCardNum(Integer stuCardNum) {
        this.stuCardNum = stuCardNum;
    }

    public String getStuNation() {
        return stuNation;
    }

    public void setStuNation(String stuNation) {
        this.stuNation = stuNation == null ? null : stuNation.trim();
    }

    public String getStuBirthPlace() {
        return stuBirthPlace;
    }

    public void setStuBirthPlace(String stuBirthPlace) {
        this.stuBirthPlace = stuBirthPlace == null ? null : stuBirthPlace.trim();
    }

    public String getStuContactInfo() {
        return stuContactInfo;
    }

    public void setStuContactInfo(String stuContactInfo) {
        this.stuContactInfo = stuContactInfo == null ? null : stuContactInfo.trim();
    }

    public Integer getStuDepartId() {
        return stuDepartId;
    }

    public void setStuDepartId(Integer stuDepartId) {
        this.stuDepartId = stuDepartId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuNum='" + stuNum + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuAge=" + stuAge +
                ", stuSex=" + stuSex +
                ", stuCardNum=" + stuCardNum +
                ", stuNation='" + stuNation + '\'' +
                ", stuBirthPlace='" + stuBirthPlace + '\'' +
                ", stuContactInfo='" + stuContactInfo + '\'' +
                ", stuDepartId=" + stuDepartId +
                '}';
    }
}